// routes.ts
const routes = [
    {
      path: "/",
      redirect: "/login"
    },
    {
      path: "/login",
      name: "login",
      component: () => import("@/views/login.vue")
    },
    {
      path: "/home",
      name: "home",
      component: () => import("@/views/home/index.vue")
    },
    {
      path: "/progress",
      name: "progress",
      component: () => import("@/views/progress/index.vue")
    },
    {
      path: "/mine",
      name: "mine",
      component: () => import("@/views/my/mine.vue")
    },
    {
      path: "/my_record",
      name: "my_record",
      component: () => import("@/views/my/my_record.vue")
    },
    {
      path: "/my_count",
      name: "my_count",
      component: () => import("@/views/my/my_count.vue")
    },
    {
      path: "/contactUs",
      name: "contactUs",
      component: () => import("@/views/contactUs.vue")
    },
    {
      path: "/mineInfo",
      name: "mineInfo",
      component: () => import("@/views/my/mineInfo.vue")
    },
    {
      path: "/home_search",
      name: "home_search",
      component: () => import("@/views/home/home_search.vue")
    },
    {
      path: "/auth",
      name: "auth",
      component: () => import("@/views/home/auth.vue")
    },
    {
      path: "/submit",
      name: "submit",
      component: () => import("@/views/home/submit.vue")
    },
    {
      path: "/progressDetail",
      name: "progressDetail",
      component: () => import("@/views/progress/detail.vue")
    }
  ]
  export {routes}